package com.example.administrator.capital.presenter.base;

/**
 * Created by Administrator on 2017/12/1 0001.
 *
 */

public interface IViewBase<T>  {

    /**
     * @param data
     * 成功
     */
    void onSuccess(T data);

    /**
     * @param error
     * 失败
     */
    void onFail(T error);
}
